/**
 * 项目名称:
 *
 * @Author: 夏国倩
 * @Date: 2023/9/11 15:43
 * @Copyright
 */
package AbstractClass2;
public abstract class Class {
    private String name;
    private int age;
    public abstract void course();
}


class A{
    public static void main(String[] args) {
        new Teacher1().course();
        new Teacher2().course();
        new Student2().course();
        new Student1().course();
    }
}
